package com.audi.message;

/**
 * @author PhongNT11
 * 
 */
public interface ActionMessage {

	// device action
    public static final int DEVICE = 1;
	public static final int deviceAction = 1000;
	public static final int addDevice = 1001;
	public static final int getDeviceListByGroup = 1005;
	public static final int getAllDeviceList = 1006;
	public static final int GET_DEVICE_LIST_BY_USER = 1007;
	public static final int GET_DEVICE_LIST_BY_PLACE = 1008;
	public static final int GET_DEVICE_BY_ID = 1009;
	public static final int CHECK_DEVICE_EXIST = 1011;
	public static final int deleteDevice = 1012;
	public static final int RENAME_DEVICE = 1013;
	public static final int UPDATE_DEVICE = 1014;
	public static final int CHANGE_PLACE_OF_DEVICE = 1015;
	public static final int CHANGE_PLACE_OF_DEVICE_LIST = 1016;
	public static final int GET_LIST_DEVICE_FAVORITE = 1017;
	public static final int UPDATE_FAVORITE_DEVICE = 1018;

	// place action
	public static final int PLACE = 2;
	public static final int placeAction = 2000;
	public static final int addPlace = 2001;
	public static final int changeCapabilityPlace = 2002;
	public static final int renamePlace = 2003;
	public static final int deletePlace = 2004;
	public static final int getAllPlaceList = 2005;
	public static final int GET_LIST_PLACE_BY_USER = 2006;
	public static final int CHECK_PLACE_EXIST = 2008;
	public static final int GET_PLACE_BY_ID = 2009;
	public static final int UPDATE_PLACE = 2010;
	public static final int CHECK_PLACE_EXIST_BY_NAME = 2011;

	// smartTrigger action
	public static final int SMART_TRIGGER = 3;
	public static final int smartTriggerAction = 3000;
	public static final int ADD_WHEN_ST = 3001;
	public static final int ADD_TRIGGER_ST = 3002;
	public static final int ADD_WHEN_TRIGGER_ST = 3003;
	public static final int UPDATE_WHEN_ST = 3004;
	public static final int UPDATE_TRIGGER_ST = 3005;
	public static final int UPDATE_WHEN_TRIGGER_ST = 3006;
	public static final int DELETE_WHEN_ST = 3007;
	public static final int DELETE_TRIGGER_ST = 3008;
	public static final int DELETE_WHEN_TRIGGER_ST = 3009;
	public static final int GET_WHEN_ST_BY_ID = 3010;
	public static final int GET_TRIGGER_ST_BY_ID = 3011;
	public static final int GET_WHEN_TRIGGER_ST_BY_ID = 3012;
	public static final int GET_ALL_ST = 3013;
	public static final int GET_LIST_WHEN_ST = 3014;
	public static final int GET_LIST_TRIGGER_ST = 3015;
	public static final int GET_LIST_WHEN_TRIGGER_ST = 3016;
	public static final int SET_ON_OFF_ST = 3017;
	public static final int GET_DEVICE_FROM_WHEN_ST = 3018;
	public static final int GET_DEVICE_FROM_TRIGGER_ST = 3019;

	// member action
	public static final int MEMBER = 4;
	public static final int memberAction = 4000;
	public static final int addMember = 4001;
	public static final int getListMember = 4002;
	public static final int UPDATE_MEMBER = 4003;
	public static final int DELETE_MEMBER = 4004;
	public static final int CHECK_MEMBER_EXIST = 4006;
	// history action
	public static final int historyAction = 5000;

	// Scene action
	public static final int SCENE = 5;
	public static final int ADD_SCENE = 5002;
	public static final int UPDATE_SCENE = 5003;
	public static final int DELETE_SCENE = 5004;
	 public static final int GET_SCENE_BY_ID = 5005;
	public static final int GET_LIST_SCENE = 5006;
	public static final int CHECK_SCENE_EXIST = 5007;
	public static final int ADD_SCENE_DEVICE = 5008;
	public static final int GET_SCENE_DEVICE = 5009;
	public static final int GET_SCENE_DEVICE_LIST = 5010;
	public static final int GET_SCENE_LIST_BY_PLACE_ID = 5011;

	//History action
	public static final int HISTORY = 8;
	public static final int GET_HISTORY_LIST = 8001;
	
	//Error action
	public static final int ERROR = 9;
	public static final int ERROR_HANDLER = 9001;
}
